package com.zcup.designer.behavior.mediator;

public class ConcreteColleague2 extends Colleague {
    public ConcreteColleague2(Mediator mediator) {
        super(mediator);
    }

    void send(String message) {
        mediator.send(message, this);
    }

    void notifyColleague(String message) {
        System.out.println(this.getClass().getName() + "\t get message:" + message);
    }
}
